home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PPPPSSSSDDDDIIIITTTT((((1111)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo PPPPSSSSDDDDIIIITTTT((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- psdit - convert troff intermediate format to POSTSCRIPT format
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ppppssssddddiiiitttt [ ----FFFF_f_o_n_t_d_i_r ] [ ----pppp_p_r_o_l_o_g_u_e ] [ ----oooo_l_i_s_t ] [ _f_i_l_e ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _p_s_d_i_t translates a _f_i_l_e created by device-independent troff(_1) to
- POSTSCRIPT format for printing on a POSTSCRIPT printer. If no _f_i_l_e is
- mentioned, the standard input is used. The POSTSCRIPT file is sent to
- the standard output. The options are:
-
- ----FFFF _f_o_n_t_d_i_r
- take font information from _f_o_n_t_d_i_r instead of the default (see
- below).
-
- ----pppp _p_r_o_l_o_g_u_e
- use the contents of _p_r_o_l_o_g_u_e instead of the default POSTSCRIPT
- prologue (see below).
-
- ----oooo _l_i_s_t
- prints pages whose numbers are given in the comma-separated _l_i_s_t.
- The list contains single numbers _N and ranges _N_1----_N_2. A missing _N_1
- means the lowest-numbered page, a missing _N_2 means the highest.
-
- NNNNooootttteeee:::: the input for _p_s_d_i_t should be prepared with the corresponding ----TTTTppppsssscccc
- option of troff, _p_i_c, etc.
- _e_q_n should be run with the flags ----rrrr555577776666 and ----mmmm2222 to produce suitable
- output.
- _p_i_c should be run with the ----DDDD flag. With _p_i_c, use ----TTTT555577776666 to set the
- correct resolution.
-
- _p_s_d_i_t allows for users to cause _t_r_o_f_f to include arbitrary POSTSCRIPT
- code in the generated POSTSCRIPT file. _p_s_d_i_t recognizes the heretofore
- undefined ``%'' command in the troff intermediate file format to signal
- the start of raw POSTSCRIPT to be placed _a_s _i_s in the the output file.
- Everthing between (but not including) the percent sign and a line
- containing a single period (``.'') will be placed in the generated
- POSTSCRIPT output. This POSTSCRIPT is not insulated from the _t_r_o_f_f
- coordinate system or the state of the generated POSTSCRIPT. However, two
- functions are defined in the prologue so that user's may insulate
- themselves if they so desire. The PPPPBBBB function (for _p_i_c_t_u_r_e _b_e_g_i_n) will
- perform a POSTSCRIPT ssssaaaavvvveeee operation, translate the POSTSCRIPT coordinate
- system to _t_r_o_f_f'_s idea of the current position on the page, and change
- the scale and orienation of the coordinate system axes to be the standard
- POSTSCRIPT 72 units per inch. The PPPPEEEE macro (for _p_i_c_t_u_r_e _e_n_d) will end
- this protected environment.
-
- Several methods may be employed to incorporated such included POSTSCRIPT
- into the troff intermediate file. The ``.cf'' ``.sy'' and ``\!'' _t_r_o_f_f
- commands may be useful. For example, the following sequence may appear
- in _t_r_o_f_f input:
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- PPPPSSSSDDDDIIIITTTT((((1111)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo PPPPSSSSDDDDIIIITTTT((((1111))))
-
-
-
- (usual troff input)
- \!%PB
- .cf mypic.ps
- \!PE
- \!.
- (more regular troff input)
- to include _m_y_p_i_c._p_s as an illustration. This facility is both powerful
- and useful, but indiscriminate inclusion of badly-behaving POSTSCRIPT
- code may be dangerous to your document's health.
-
- EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
- PSLIBDIR
- path name of a directory to use instead of /usr/lib/ps for psdit
- prologue.
-
- FFFFIIIILLLLEEEESSSS
- /usr/lib/font/devpsc/* - _t_r_o_f_f default description files for POSTSCRIPT
- virtual device.
- /usr/lib/ps/psdit.pro - default POSTSCRIPT prologue.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- psroff(1), troff(1), lp(1).
- _A _T_y_p_e_s_e_t_t_e_r-_i_n_d_e_p_e_n_d_e_n_t _T_R_O_F_F Brian W. Kernighan, Bell Laboratories 1982
- _D_o_c_u_m_e_n_t_e_r'_s _W_o_r_k_b_e_n_c_h
-
- BBBBUUUUGGGGSSSS
- The versions of _e_q_n and _p_i_c distributed with troff (from AT&T) have the
- device names compiled in (so much for device independence!). They should
- just read the device description file for the information they need. You
- must be careful to know which version of _e_q_n you are running or you will
- get undesirable results.
- The B-splines generated by _t_r_o_f_f are drawn with an approximation. The
- functions DDDD~~~~ and DDDD~~~~~~~~ in the prologue need a little work.
-
- NNNNOOOOTTTTEEEESSSS
- POSTSCRIPT is a registered trademark of Adobe Systems Incorporated.
- Documenter's Workbench is a trademark of AT&T Technologies.
-
- OOOORRRRIIIIGGGGIIIINNNN
- Adobe Systems Incorporated
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-